Button Group Example

FILE: Button.cln

Introduction

The Button Group in this example is a group of radio buttons - only one button can be selected at a time and the result of the group is the value of the selected button.

To try out the file, switch on Automatic Recalculation and click on each of the buttons in the button group. The style of graph the button represents is displayed (it may take a few seconds to build the image of the graph).

This sheet works because the graph object has different styles set for each of the Series A to D. The Button Group instructs the Switch Object which Inlet of the Graph to feed to data into and hence the style that the data should have.

Click on any object you need help with.


This is an Input Table, used here to enter a column of numbers into the sheet. These number are plotted onto the graph.


This is an Input Table, used here to enter a column of numbers into the sheet. These number are plotted onto the graph.


This is a Switch Object, it takes the control value from the button group, searches its list of possible states to find a matching pattern of links, and then joins the inputs (on the left) to the outputs (on the right) according to the pattern it found.


This is a Button Group. It is setup as a radio button group with values of 1 to 8 for the buttons. The output from the button group is the value of the selected button.


This is a 3D Graph object, it plots the 4 input pipes fed into 4 of its inlets onto a 3D graph, each inlet is plotted in a different style. If a Null is fed into an inlet, then no data is plotted, this corresponds to the Switch object disconnecting a pipe.